package edu.sctu.wujiayi.month05.day20150512;

/**
 * Created by user11 on 2015/5/12.
 */
public class AbsractFour extends AbsractTwo {
    @Override
    public void getName(String name) {
        if(name.equals("雪雪")){
            System.out.println(name);
        }
    }

    @Override
    public void getSex(String sex) {
        if(sex.equals("female")){
            System.out.println(sex);
        }
    }

    @Override
    public void getNumber(int number) {
        if(number == 1408){
            System.out.println(number);
        }else{System.out.println("其他学号");}

    }
}
